#include <iostream>
using namespace std;
int main6()
{
	//1、单精度 float
	//2、双精度 doouble
	float f = 3.14f;
	cout << "f=" << f << endl;
	cout << "float sizeof is " << sizeof(f) << "=" << sizeof(float) << endl;
	double d = 3.14;
	cout << "d=" << d << endl;
	cout << "double sizeof is " << sizeof(d) << "=" << sizeof(double) << endl;
	//科学计数法
	float f1 = 3e2;
	cout << "f1 = " << f1 << endl;
	float f2 = 3e-2;
	cout << "f2 = " << f2 << endl;

	system("pause");
	return 0; 
}